import service from '../request'

// 查询参与筛查人员信息列表
export function listCheckPerson(query) {
  return service({
    url: '/system/checkperson/list',
    method: 'get',
    params: query,
  })
}

// 查询参与筛查人员信息详细
export function getCheckPerson(id) {
  return service({
    url: '/system/checkperson/' + id,
    method: 'get',
  })
}

// 新增参与筛查人员信息
export function addCheckPerson(data) {
  return service({
    url: '/system/checkperson',
    method: 'post',
    data: data,
  })
}

// 修改参与筛查人员信息
export function updateCheckPerson(data) {
  return service({
    url: '/system/checkperson',
    method: 'put',
    data: data,
  })
}

// 删除参与筛查人员信息
export function delCheckPerson(id) {
  return service({
    url: '/system/checkperson/' + id,
    method: 'delete',
  })
}
